package bean;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class Woman extends Person {
    private boolean isBeauty;

    @Override
    public void eat() {
        System.out.println("女人应该少吃，减肥。");
    }

    public void goShopping() {
        System.out.println("女人喜欢逛街...");
    }
}
